{% include 'head.html' %}
{% load account socialaccount %}
<script src="/static/js2/bootstrap.min.js"></script>
<script src="/static/js2/jquery.ias.js"></script>
<script src="/static/js2/scripts.js"></script>
<section class="container">
    {% block danyemian %}
    {% endblock %}
  <div class="content-wrap">
    <div class="content">
      {% block head %}
      {% endblock %}

      {% block content %}
      {% endblock %}
    </div>
  </div>
      {% block right %}
      {% endblock %}
</section>

{% include 'foot.html' %}
 <!--登录注册模态框-->
  <div class="modal fade user-select" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="loginModalLabel">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
         <form class="login" id="login_form" method="POST" action="{% url 'account_login' %}">
          {% csrf_token %}
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <h4 class="modal-title" id="loginModalLabel">登录</h4>
          </div>
          <div class="modal-body">
            <div class="form-group">
              <label for="loginModalUserNmae">用户名</label>
              <input type="text" name="login" placeholder="请输入用户名或Email" autofocus="autofocus" required
                            id="id_login" class="form-control" />
            </div>
            <div class="form-group">
              <label for="loginModalUserPwd">密码</label>
              <input type="password" name="password" placeholder="请输入密码" required id="id_password"
                            class="form-control" />

               </div>
          </div>
          <div class="modal-footer">
            <div class="custom-control custom-checkbox mb-2">
                        <input type="checkbox" name="remember" id="id_remember" checked class="custom-control-input" />
                        <label for="id_remember" class="custom-control-label">
                            保持登录
                        </label>
                    </div>
                    <button class="primaryAction btn btn-primary" type="submit" hidden id="submit_login">确认</button>

          </div>
        </form>
      </div>
    </div>
  </div>

</div>

</body>
</html>